<div class="container clearfix" id="otherInfo">
    <?php
    if ($dataList) {
    ?>
        <table id="itskill-table" class="info" style="background-color: rgb(255, 255, 255);">
            <colgroup>
                <col width="70">
                <col width="110">
                <col width="350">
                <col width="100">
            </colgroup>
            <thead>
                <tr class="g9">
                    <th></th>
                    <th>熟练程度</th>
                    <th>技能名称</th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
            <?php
                $familiarStr = '';
                $goodatStr = '';
                foreach($dataList as $data){

                    if($data['familiar'] == 1){
                        $familiarStr .= $data['name'].'、';
                    }else{
                        $goodatStr .= $data['name'].'、';
                    }
                }
                $familiarStr = rtrim($familiarStr,"、");
                $goodatStr = rtrim($goodatStr,"、");
                if(!empty ($familiarStr)){
                    ?>
                <tr class=" " id="tr_IT_1">
                    <td></td>
                    <td><div style="width:102px" class="ellipsis width">熟悉</div></td>
                    <td><?=$familiarStr?>
                    </td>
                    <td class="padding"><a class="icon edit thickbox" title="修改IT技能" rel="itskill" href="?c=MyResume&a=ITShow&type=1&height=360&width=770&keepThis=true&TB_iframe=true">修改</a> <a class="icon delete" onclick="delItem('IT','1')" href="javascript:void(0);" target="_self">删除</a></td>
                </tr>
                <?php
                }
                if(!empty ($goodatStr)){
                   ?>
                <tr class=" " id="tr_IT_2">
                    <td></td>
                    <td><div style="width:102px" class="ellipsis width">精通</div></td>
                    <td><?=$goodatStr?>
                    </td>
                    <td class="padding"><a class="icon edit thickbox" title="修改IT技能" rel="itskill" href="?c=MyResume&a=ITShow&type=2&height=360&width=770&keepThis=true&TB_iframe=true">修改</a> <a class="icon delete" onclick="delItem('IT','2')" href="javascript:void(0);" target="_self">删除</a></td>
                </tr>
                <?php
                }
                ?>
            </tbody>
        </table>

    <? } else {
 ?>
        <div class="notfilled">
            <ul class="nodata">
                <li class="think">IT技能是你驰骋办公室的必杀技。 你都会哪些电脑操作呢？&nbsp;&nbsp;<a href="?c=MyResume&a=ITShow&type=1&height=360&width=770&keepThis=true&TB_iframe=true" rel="itskill" title="添加熟悉IT技能" class="addme thickbox">添加我熟悉的技能</a>&nbsp;|&nbsp;<a href="?c=MyResume&a=ITShow&type=2&height=360&width=770&keepThis=true&TB_iframe=true" title="添加精通IT技能" rel="itskill" class="addme thickbox">添加我精通的技能</a></li>
                <li class="create">如果暂时没有IT技能，建议你先<a class="discard dohide" href="javascript:void(0);" rel="it" rel2="it">隐藏</a></li>
            </ul>
        </div>
        <script>$("#IT-section h2 a").hide();</script>
<? } ?>
</div>